package com.cloudeasy.area.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.List;

/**
 * 区域依赖实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class AreaRely implements Serializable {
    /**
     * Id
     */
    @Id
    private String id;
    /**
     * 名称
     */
    private String name;
    /**
     * 子区域Id
     */
    private List<String> childIds;
    /**
     * 延伸路径
     */
    private String path;
}
